package com.hejia.alauda.persistence.mybatis;

import org.apache.ibatis.annotations.Update;

import com.hejia.alauda.entity.B2BPayOrder;
import com.hejia.alauda.persistence.BaseMapper;

public interface B2BPayOrderMapper extends BaseMapper<B2BPayOrder> {

	@Update("update `B2BPayOrder` set status=#{1},modifyDate=now() where orderNumber=#{0}")
	public int updateOrderStatusByOrderNumber(String orderNumber, B2BPayOrder.Status status);
}
